
import i18n from '@/locales/index'
const { t } = i18n.global
export const deviceUrl = {
  hangLineGroup: {
    add: '/api/device/hanger-line-group/save',
    edit: '/api/device/hanger-line-group/edit'
  },
  hangLineAssembly: {
    save: '/api/device/hanger-line-group/save'
  },
}
export const deviceModelItem = {
  hangLineGroup: [
    {
      label: 'other.groupCode',
      placeholder: 'common.systemAutoGenerate',
      column: 'code',
      // rules: [{ required: true, message: '请输入组别编码' }],
      disabled: true,
      type: 'input'
    },
    {
      label: 'other.groupName',
      placeholder: 'other.pleaseInputGroupName',
      column: 'name',
      rules: [{ required: true, message: t('other.pleaseInputGroupName') }],
      type: 'input'
    },
    {
      label: 'common.remark',
      placeholder: 'common.pleaseInput',
      column: 'remark',
      type: 'textarea'
    }
  ],

}